#include "path.h"
#include "path_iterator.h"

Path::Path(){
}

Path::~Path(){
	for(Path::iterator it=this->begin();it!=this->end();++it){
		if(it->info)
			delete it->info;
	}
}

PathIterator* Path::createPathIterator(unsigned int step,bool loop){
	return new PathIterator(*this,step,loop);
}

